package cn.maszy.model.customer;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class B_T_Ufp_ContractWordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public B_T_Ufp_ContractWordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                return ;
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(String value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(String value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(String value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(String value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(String value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(String value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLike(String value) {
            addCriterion("contract_id like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotLike(String value) {
            addCriterion("contract_id not like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<String> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<String> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(String value1, String value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(String value1, String value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidIsNull() {
            addCriterion("customer_uuid is null");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidIsNotNull() {
            addCriterion("customer_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidEqualTo(String value) {
            addCriterion("customer_uuid =", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidNotEqualTo(String value) {
            addCriterion("customer_uuid <>", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidGreaterThan(String value) {
            addCriterion("customer_uuid >", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidGreaterThanOrEqualTo(String value) {
            addCriterion("customer_uuid >=", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidLessThan(String value) {
            addCriterion("customer_uuid <", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidLessThanOrEqualTo(String value) {
            addCriterion("customer_uuid <=", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidLike(String value) {
            addCriterion("customer_uuid like", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidNotLike(String value) {
            addCriterion("customer_uuid not like", value, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidIn(List<String> values) {
            addCriterion("customer_uuid in", values, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidNotIn(List<String> values) {
            addCriterion("customer_uuid not in", values, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidBetween(String value1, String value2) {
            addCriterion("customer_uuid between", value1, value2, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andCustomerUuidNotBetween(String value1, String value2) {
            addCriterion("customer_uuid not between", value1, value2, "customerUuid");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactPostIsNull() {
            addCriterion("contact_post is null");
            return (Criteria) this;
        }

        public Criteria andContactPostIsNotNull() {
            addCriterion("contact_post is not null");
            return (Criteria) this;
        }

        public Criteria andContactPostEqualTo(String value) {
            addCriterion("contact_post =", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostNotEqualTo(String value) {
            addCriterion("contact_post <>", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostGreaterThan(String value) {
            addCriterion("contact_post >", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostGreaterThanOrEqualTo(String value) {
            addCriterion("contact_post >=", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostLessThan(String value) {
            addCriterion("contact_post <", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostLessThanOrEqualTo(String value) {
            addCriterion("contact_post <=", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostLike(String value) {
            addCriterion("contact_post like", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostNotLike(String value) {
            addCriterion("contact_post not like", value, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostIn(List<String> values) {
            addCriterion("contact_post in", values, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostNotIn(List<String> values) {
            addCriterion("contact_post not in", values, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostBetween(String value1, String value2) {
            addCriterion("contact_post between", value1, value2, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactPostNotBetween(String value1, String value2) {
            addCriterion("contact_post not between", value1, value2, "contactPost");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneIsNull() {
            addCriterion("contact_office_phone is null");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneIsNotNull() {
            addCriterion("contact_office_phone is not null");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneEqualTo(String value) {
            addCriterion("contact_office_phone =", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneNotEqualTo(String value) {
            addCriterion("contact_office_phone <>", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneGreaterThan(String value) {
            addCriterion("contact_office_phone >", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contact_office_phone >=", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneLessThan(String value) {
            addCriterion("contact_office_phone <", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneLessThanOrEqualTo(String value) {
            addCriterion("contact_office_phone <=", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneLike(String value) {
            addCriterion("contact_office_phone like", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneNotLike(String value) {
            addCriterion("contact_office_phone not like", value, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneIn(List<String> values) {
            addCriterion("contact_office_phone in", values, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneNotIn(List<String> values) {
            addCriterion("contact_office_phone not in", values, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneBetween(String value1, String value2) {
            addCriterion("contact_office_phone between", value1, value2, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactOfficePhoneNotBetween(String value1, String value2) {
            addCriterion("contact_office_phone not between", value1, value2, "contactOfficePhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("contact_phone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("contact_phone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("contact_phone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("contact_phone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("contact_phone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contact_phone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("contact_phone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("contact_phone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("contact_phone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("contact_phone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("contact_phone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("contact_phone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("contact_phone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("contact_phone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhone2IsNull() {
            addCriterion("contact_phone2 is null");
            return (Criteria) this;
        }

        public Criteria andContactPhone2IsNotNull() {
            addCriterion("contact_phone2 is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhone2EqualTo(String value) {
            addCriterion("contact_phone2 =", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2NotEqualTo(String value) {
            addCriterion("contact_phone2 <>", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2GreaterThan(String value) {
            addCriterion("contact_phone2 >", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2GreaterThanOrEqualTo(String value) {
            addCriterion("contact_phone2 >=", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2LessThan(String value) {
            addCriterion("contact_phone2 <", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2LessThanOrEqualTo(String value) {
            addCriterion("contact_phone2 <=", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2Like(String value) {
            addCriterion("contact_phone2 like", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2NotLike(String value) {
            addCriterion("contact_phone2 not like", value, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2In(List<String> values) {
            addCriterion("contact_phone2 in", values, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2NotIn(List<String> values) {
            addCriterion("contact_phone2 not in", values, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2Between(String value1, String value2) {
            addCriterion("contact_phone2 between", value1, value2, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactPhone2NotBetween(String value1, String value2) {
            addCriterion("contact_phone2 not between", value1, value2, "contactPhone2");
            return (Criteria) this;
        }

        public Criteria andContactEmailIsNull() {
            addCriterion("contact_email is null");
            return (Criteria) this;
        }

        public Criteria andContactEmailIsNotNull() {
            addCriterion("contact_email is not null");
            return (Criteria) this;
        }

        public Criteria andContactEmailEqualTo(String value) {
            addCriterion("contact_email =", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailNotEqualTo(String value) {
            addCriterion("contact_email <>", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailGreaterThan(String value) {
            addCriterion("contact_email >", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailGreaterThanOrEqualTo(String value) {
            addCriterion("contact_email >=", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailLessThan(String value) {
            addCriterion("contact_email <", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailLessThanOrEqualTo(String value) {
            addCriterion("contact_email <=", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailLike(String value) {
            addCriterion("contact_email like", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailNotLike(String value) {
            addCriterion("contact_email not like", value, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailIn(List<String> values) {
            addCriterion("contact_email in", values, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailNotIn(List<String> values) {
            addCriterion("contact_email not in", values, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailBetween(String value1, String value2) {
            addCriterion("contact_email between", value1, value2, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactEmailNotBetween(String value1, String value2) {
            addCriterion("contact_email not between", value1, value2, "contactEmail");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressIsNull() {
            addCriterion("contact_home_address is null");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressIsNotNull() {
            addCriterion("contact_home_address is not null");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressEqualTo(String value) {
            addCriterion("contact_home_address =", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressNotEqualTo(String value) {
            addCriterion("contact_home_address <>", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressGreaterThan(String value) {
            addCriterion("contact_home_address >", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressGreaterThanOrEqualTo(String value) {
            addCriterion("contact_home_address >=", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressLessThan(String value) {
            addCriterion("contact_home_address <", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressLessThanOrEqualTo(String value) {
            addCriterion("contact_home_address <=", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressLike(String value) {
            addCriterion("contact_home_address like", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressNotLike(String value) {
            addCriterion("contact_home_address not like", value, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressIn(List<String> values) {
            addCriterion("contact_home_address in", values, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressNotIn(List<String> values) {
            addCriterion("contact_home_address not in", values, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressBetween(String value1, String value2) {
            addCriterion("contact_home_address between", value1, value2, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactHomeAddressNotBetween(String value1, String value2) {
            addCriterion("contact_home_address not between", value1, value2, "contactHomeAddress");
            return (Criteria) this;
        }

        public Criteria andContactDepnameIsNull() {
            addCriterion("contact_depname is null");
            return (Criteria) this;
        }

        public Criteria andContactDepnameIsNotNull() {
            addCriterion("contact_depname is not null");
            return (Criteria) this;
        }

        public Criteria andContactDepnameEqualTo(String value) {
            addCriterion("contact_depname =", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameNotEqualTo(String value) {
            addCriterion("contact_depname <>", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameGreaterThan(String value) {
            addCriterion("contact_depname >", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameGreaterThanOrEqualTo(String value) {
            addCriterion("contact_depname >=", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameLessThan(String value) {
            addCriterion("contact_depname <", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameLessThanOrEqualTo(String value) {
            addCriterion("contact_depname <=", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameLike(String value) {
            addCriterion("contact_depname like", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameNotLike(String value) {
            addCriterion("contact_depname not like", value, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameIn(List<String> values) {
            addCriterion("contact_depname in", values, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameNotIn(List<String> values) {
            addCriterion("contact_depname not in", values, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameBetween(String value1, String value2) {
            addCriterion("contact_depname between", value1, value2, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactDepnameNotBetween(String value1, String value2) {
            addCriterion("contact_depname not between", value1, value2, "contactDepname");
            return (Criteria) this;
        }

        public Criteria andContactIdcardIsNull() {
            addCriterion("contact_idcard is null");
            return (Criteria) this;
        }

        public Criteria andContactIdcardIsNotNull() {
            addCriterion("contact_idcard is not null");
            return (Criteria) this;
        }

        public Criteria andContactIdcardEqualTo(String value) {
            addCriterion("contact_idcard =", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardNotEqualTo(String value) {
            addCriterion("contact_idcard <>", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardGreaterThan(String value) {
            addCriterion("contact_idcard >", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("contact_idcard >=", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardLessThan(String value) {
            addCriterion("contact_idcard <", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardLessThanOrEqualTo(String value) {
            addCriterion("contact_idcard <=", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardLike(String value) {
            addCriterion("contact_idcard like", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardNotLike(String value) {
            addCriterion("contact_idcard not like", value, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardIn(List<String> values) {
            addCriterion("contact_idcard in", values, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardNotIn(List<String> values) {
            addCriterion("contact_idcard not in", values, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardBetween(String value1, String value2) {
            addCriterion("contact_idcard between", value1, value2, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andContactIdcardNotBetween(String value1, String value2) {
            addCriterion("contact_idcard not between", value1, value2, "contactIdcard");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}